package com.stylefeng.guns.modular.sort.service.impl;

import com.stylefeng.guns.core.node.ZTreeNode;
import com.stylefeng.guns.modular.sort.model.Sort;
import com.stylefeng.guns.modular.sort.dao.SortMapper;
import com.stylefeng.guns.modular.sort.service.ISortService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 商品分类表 服务实现类
 * </p>
 *
 * @author BrunoLi123
 * @since 2018-05-13
 */
@Service
public class SortServiceImpl extends ServiceImpl<SortMapper, Sort> implements ISortService {

    @Override
    public List<ZTreeNode> tree() {
        return this.baseMapper.tree();
    }
}
